package com.jhj.service.user.impl;

import java.util.Date;

import org.springframework.stereotype.Service;

import com.jhj.po.user.model.AdminAccount;
import com.jhj.service.impl.BaseServiceImpl;
import com.jhj.service.user.AdminAccountService;

@Service
public class AdminAccountServiceImpl extends BaseServiceImpl<AdminAccount> implements AdminAccountService {

	@Override
	public AdminAccount initAccount() {
		AdminAccount account = new AdminAccount();
		account.setId(0);
		account.setVersion(0);
		account.setEnable(1);
		account.setName("");
		account.setEmail("");
		account.setUsername("");
		account.setPassword("");
		account.setRegisterTime(new Date());
		account.setRoleId(1);
		account.setOrganizationId(0);
		account.setImUsername("");
		account.setNickname("");
		account.setMobile("");
		account.setWxOpenid("");
		return account;
	}

	
	
	
}
